package repository

import "api-gateway-center/domain/manage/model"

type ConfigManageRepository interface {
	QueryGatewayServerList() ([]model.GatewayServerVO, error)
	RegisterGatewayServerNode(groupId, gatewayId, gatewayName, gatewayAddress string, status int) error
	QueryGatewayServerDetail(gatewayId, gatewayAddress string) (*model.GatewayServerDetailVO, error)
	UpdateGatewayStatus(gatewayId, gatewayAddress string, available int) error
	QueryGatewayDistributionSystemIdList(gatewayId string) ([]string, error)
	QueryApplicationSystemVOList(systemIdList []string) ([]*model.ApplicationSystemVO, error)
	QueryApplicationInterfaceList(systemId string) ([]*model.ApplicationInterfaceVO, error)
	QueryApplicationInterfaceMethodList(systemId, interfaceId string) ([]*model.ApplicationInterfaceMethodVO, error)
	QueryGatewayDistribution(systemId string) (string, error)
	QueryGatewayServerDetailList() ([]*model.GatewayServerDetailVO, error)
}
